package com.itheima.tlias84.service.impl;

import com.itheima.tlias84.dto.SelectGenderDTO;
import com.itheima.tlias84.mapper.GenderMapper;
import com.itheima.tlias84.service.GenderService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GenderServiceImpl implements GenderService {
    @Resource
    GenderMapper genderMapper;
    @Override
    public List<SelectGenderDTO> selectGender() {
        List<SelectGenderDTO> dtos = genderMapper.selectGender();
        return  dtos;
    }
}
